#ifndef __DEMO_UART_MAIN_H__
#define __DEMO_UART_MAIN_H__

#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include <avr/io.h>

#define fosc 		16000000 // 16 MHz
#define baudrate	57600

//#define print0(s)	printPRGstr0(PSTR(s));
#define print(s)	printPRGstr1(PSTR(s));

extern void printPRGstr1 (const char *str);
extern void uart_initial (void);
extern void uart_puts (char *s);
extern int uart_putc(unsigned char c);

#endif //#ifndef __DEMO_UART_MAIN_H__
